import {StyleSheet} from 'react-native';
import px2dp from '../../utils/px2dp';

const styles = StyleSheet.create({
  edit: {
    width: px2dp(33),
    height: px2dp(33),
    marginRight: px2dp(40),
  },
  search: {
    width: px2dp(32),
    height: px2dp(32),
    marginLeft: px2dp(30),
  },
  wrapper_container: {
    height: px2dp(280),
    marginHorizontal: px2dp(24),
  },
  community_list: {
    flex: 1,
    backgroundColor: 'rgb(250, 250, 250)',
    paddingVertical: px2dp(12),
  },
  list: {
    backgroundColor: '#fff',
    marginHorizontal: px2dp(24),
    marginVertical: px2dp(12),
    borderRadius: px2dp(4),
  },
  list_head: {
    flexDirection: 'row',
  },
  avatar: {
    width: px2dp(68),
    height: px2dp(68),
    marginLeft: px2dp(15),
    marginRight: px2dp(19),
    marginTop: px2dp(17),
  },
  info: {
    marginTop: px2dp(17),
    justifyContent: 'space-between',
    height: px2dp(68),
    paddingVertical: px2dp(9),
  },
  info_name: {
    fontSize: px2dp(26),
    color: '#333',
    fontWeight: 'bold',
  },
  info_time: {
    fontSize: px2dp(14),
    color: '#999',
  },
  topic: {
    marginLeft: px2dp(22),
    marginTop: px2dp(24),
  },
  topic_text: {
    fontSize: px2dp(26),
    color: '#333',
  },
  list_bottom: {
    flexDirection: 'row',
    justifyContent: 'flex-end',
    paddingBottom: px2dp(24),
    marginTop: px2dp(46),
  },
  btn: {
    flexDirection: 'row',
    alignItems: 'flex-end',
    marginLeft: px2dp(47),
  },
  btn_share: {
    flexDirection: 'row',
    alignItems: 'flex-end',
    marginLeft: px2dp(47),
    marginRight: px2dp(16),
  },
  btn_icon: {
    width: px2dp(31),
    height: px2dp(32),
  },
  btn_icon_coment: {
    width: px2dp(30),
    height: px2dp(28),
  },
  btn_icon_share: {
    width: px2dp(31),
    height: px2dp(29),
  },
  btn_text: {
    fontSize: px2dp(20),
    color: '#999',
    marginLeft: px2dp(10),
  },
});

export default styles;
